package com.itheima.springbootwebbtalis.service;

import com.itheima.springbootwebbtalis.pojo.PageResult;
import com.itheima.springbootwebbtalis.pojo.Student;
import com.itheima.springbootwebbtalis.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    PageResult page(StudentQueryParam param);

    void add(Student student);

    Student showById(Integer id);

    void update(Student student);

    void deleteById(List<Integer> ids);

    void violation(Integer id, short score);
}
